From 6fba6cd3bd4d953509d3bf4c433c4b40f852f5be Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 24 Aug 2008 16:27:31 +0000 Subject: [PATCH] xol: Rename function fur swiss grid conversion. --- xol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xol.c b/xol.c index f0349a725..d0c648f75 100644 --- a/xol.c +++ b/xol.c @@ -149,7 +149,7 @@ xol_waypt(const char *args, const char **attrv) { avp+=2; } - GPS_Math_CH1903_NGEN_To_WGS84((double)x, (double)y, &wpt->latitude, &wpt->longitude); + GPS_Math_Swiss_EN_To_WGS84((double)x, (double)y, &wpt->latitude, &wpt->longitude); } static void @@ -252,7 +252,7 @@ xol_waypt_disp_cb(const waypoint *wpt) else name = mkshort(short_h, name); - if (! GPS_Math_WGS84_To_CH1903_NGEN(wpt->latitude, wpt->longitude, &x, &y)) + if (! GPS_Math_WGS84_To_Swiss_EN(wpt->latitude, wpt->longitude, &x, &y)) xol_fatal_outside(wpt); gbfprintf(fout, "%*slatitude, wpt->longitude, &x, &y)) + if (! GPS_Math_WGS84_To_Swiss_EN(wpt->latitude, wpt->longitude, &x, &y)) xol_fatal_outside(wpt); gbfprintf(fout, "%*s